package a2;

public class Constants {
	
	// Constants for aspect ratio
	public static final String ASPECT_RATIO = "Aspect Ratio";
	public static final String ASPECT_RATIO_16_9 = "16:9";
	public static final String ASPECT_RATIO_9_16 = "9:16";
	public static final String ASPECT_RATIO_4_3 = "4:3";
	public static final String ASPECT_RATIO_3_4 = "3:4";
	public static final String ASPECT_RATIO_3_2 = "3:2";
	public static final String ASPECT_RATIO_2_3 = "2:3";
	public static final double AR4_3 = (double) 4 / 3;
	public static final double AR16_9 = (double) 16 / 9;
	public static final double AR3_2 = (double) 3 / 2;
	
	// Constants for orientation
	public static final String ORIENTATION = "Orientation";
	public static final String ORIENTATION_LANDSCAPE = "Landscape";
	public static final String ORIENTATION_PORTRAIT = "Portrait";
	
	// Constants for supported widgets
	public static final String TEXT_ADD_WIDGET = "Add Widget";
	public static final String TEXT_JBUTTON = "JButton";
	public static final String TEXT_JLABEL = "JLabel";
	public static final String TEXT_JTEXTFIELD = "JTextField";
	public static final String TEXT_JTEXTAREA = "JTextArea";
	public static final String TEXT_JPROGRESSBAR = "JProgressBar";
	public static final String TEXT_JSPINNER = "JSpinner";
	public static final String TEXT_JSLIDER = "JSlider";
	public static final String TEXT_JLIST = "JList";
	public static final String TEXT_JTREE = "JTree";
	
	// Constant array off all supported widgets to be added to RotatableJFrame
	public static final String[] ALL_WIDGETS = {
		TEXT_JBUTTON, TEXT_JLABEL, TEXT_JTEXTFIELD, TEXT_JTEXTAREA, TEXT_JPROGRESSBAR, TEXT_JSPINNER,
		TEXT_JSLIDER, TEXT_JLIST, TEXT_JTREE
	};
	
	// Lorem Ipsum text for use by widgets (Tree/List)
	public static final String TEXT_LOREM_IPSUM = 
			"Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +
			"Quisque tristique mauris ut leo hendrerit nec tincidunt nulla blandit. " +
			"Class aptent taciti sociosqu ad litora torquent per conubia nostra, " +
			"per inceptos himenaeos. Aenean posuere erat et enim lobortis nec posuere mi gravida. " +
			"Vestibulum at neque felis, eget commodo erat. Quisque ut vestibulum felis. " +
			"Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus " +
			"mus. Suspendisse luctus elit sollicitudin risus laoreet fringilla. Donec sit amet " +
			"eleifend velit. Aliquam at urna non sem condimentum accumsan. Phasellus lacinia, " +
			"risus ut tincidunt lacinia, neque massa congue tellus, ultrices elementum orci " +
			"augue eu metus. Sed ac lorem urna, sed adipiscing odio. Mauris ornare fermentum " +
			"eros, in lacinia nibh sollicitudin non. Class aptent taciti sociosqu ad litora " +
			"torquent per conubia nostra, per inceptos himenaeos. Aenean a condimentum elit. " +
			"Mauris ut sagittis dolor.";
	public static final String[] LOREM_IPSUM = TEXT_LOREM_IPSUM.split(" ");
	
	// Menu text
	public static final String TEXT_ADD = "Add";
	public static final String TEXT_EDIT = "Edit";
	public static final String TEXT_REMOVE = "Remove";
	public static final String TEXT_REMOVE_ALL = "Remove All";
	
	// Used by EditDialog to display user editable options
	public static final String TEXT_POSITION = "Position";
	public static final String TEXT_X_POS = "X Position";
	public static final String TEXT_Y_POS = "Y Position";
	public static final String TEXT_DIMENSIONS = "Dimensions";
	public static final String TEXT_WIDTH = "Cell Width";
	public static final String TEXT_HEIGHT = "Cell Height";

	
	

}
